package com.kalix.mooc.img.dao;

import com.kalix.framework.core.impl.dao.GenericDao;
import com.kalix.mooc.img.api.dao.IImgBeanDao;
import com.kalix.mooc.img.entities.ImgBean;

import javax.persistence.EntityManager;
import javax.persistence.PersistenceContext;

/**
 * 图片管理dao层实现
 */
public class ImgBeanDaoImpl extends GenericDao<ImgBean, Long> implements IImgBeanDao {
    @Override
    @PersistenceContext(unitName = "mooc-img-unit")
    public void setEntityManager(EntityManager em) {
        super.setEntityManager(em);
    }
}
